Extension Preferences Schema
EXTENSIONS Element
See Also  Send comments on this topic.
Extension Preferences Schema : EXTENSIONS Element

Glossary Item Box

Description

Used to define an Extension dll and configure its loading settings.

Diagram

EXTENSION Element Sequence EXTENSIONS Element

Overview

EXTENSIONS
Used to define an Extension dll and configure its loading settings.
delayload optional Restriction of xs:string
Specifies whether to delay loading of all extension dlls to conserve memory.
Sequence
EXTENSION 1..∞
Used to define an Extension dll and configure its loading settings

Attributes

NameTypeUseDefaultFixedDescription
delayloadRestriction of xs:stringoptionaltrue Specifies whether to delay loading of all extension dlls to conserve memory.

Remarks

  • ExtensionPrefs.apx is a cache of information extracted from extensions/modules when they're loaded for the first time, so that ArcPad knows what each extension does.Then it can make a future decision to delayload them to conserve memory.

    From a C++ perspective, all extensions/module implement APExGetProperty() that tell ArcPad what those extensions do. When we load an extension/module record what each extensions's responses were to APExGetProperty() and save them to ExtensionPrefs.apx.

Examples

Source

<xs:element name="EXTENSIONS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define an Extension dll and configure its loading settings.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ep:EXTENSION" />
    </xs:sequence>
    <xs:attribute default="true" name="delayload">
      <xs:annotation>
        <xs:documentation>Specifies whether to delay loading of all extension dlls to conserve memory.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.